import QtQuick 1.0

Item {
    id: root
    width: 360
    height: 70
    property alias text: label.text
    property alias subtext: label2.text
    property alias drill: drillIcon.visible
    property bool indent: false


    Column {
        anchors.left: parent.left
        anchors.leftMargin: root.indent?78:8
        anchors.verticalCenter: parent.verticalCenter
        spacing: 8
        Text {
            id: label
            color: "#333333"
            text: "Check box"
            font.pixelSize: 22
            visible: text !== ''
        }
        Text {
            id: label2
            color: "#999999"
            text: "Check box"
            font.pixelSize: 18
            visible: text !== ''
        }
    }

    Border {}

    Drill {
        id: drillIcon
        visible: false
    }

}
